<@master template="master/master-loan"  title="定时任务">
   <form  name="module" id="module" action='/rest_quartz/saveJob' method ='post'   class="action-ajax-form action-ajax-form-valid action-ajax-form-confirm" action-ajax-form-confirm-message="确认提交">
    
   <div class="detailsBox">
			
	 <div class="openBox">
		<h3>
			<i class="jtIco"></i>定时任务
		</h3>
		<div class="detaiTab">
			<table width="100%" cellspacing="0" cellpadding="0" border="0">
				<tbody>
					<tr>
						<td width="15%" align="right" class="bg">任务名称:</td>
						<td width="35%">
						     <input type="text" <#if "${flag}" == "update" >  readonly="true"  </#if>  id="jobName"  name="jobName" value="${vo.jobName}"
						     class="tabInp action-valid-field"
							 data-action-valid-rule="required;"
						     data-action-valid-msg-number="任务名称不能为空" >
						     <span><font color="red">*</font></span> 
							 <span class="action-field-error" for="jobName" style="color: red"></span>
						</td>
						<td width="15%" align="right" class="bg">Cron表达式:</td>
						<td width="35%">
						     <input type="text"  id="cronExpression"   name="cronExpression" value="${vo.cronExpression}"class="tabInp action-valid-field"
							 data-action-valid-rule="required;"
						     data-action-valid-msg-number="Cron表达式不能为空" >
						     <span><font color="red">*</font></span> 
							 <span class="action-field-error" for="cronExpression" style="color: red"></span>
						</td>
					</tr>
					<tr>
						<td width="15%" align="right" class="bg">类注解名称:</td>
						<td>
							<input type="text"  id="classPath"  name="classPath" value="${vo.classPath}" <#if "${flag}" == "update" > readonly="true"  </#if>  data-action-valid-rule="required;"
						     data-action-valid-msg-number="类注解名称不能为空" class="tabInp action-valid-field">
						     <span><font color="red">*</font></span> 
							 <span class="action-field-error" for="classPath" style="color: red"></span>
						</td>
						<td width="15%" align="right" class="bg">方法名称:</td>
						<td width="35%">
						     <input type="text"  id="method"  name="method" <#if "${flag}" == "update" > readonly="true"  </#if>  value="${vo.method}" class="tabInp action-valid-field"  data-action-valid-rule="required;"
						     data-action-valid-msg-number="方法名称不能为空" >
						     <span><font color="red">*</font></span> 
							 <span class="action-field-error" for="method" style="color: red"></span>
						</td>
					</tr>
					<tr>
						<td width="15%" align="right" class="bg">优先级:</td>
						<td>
							<input type="text"  id="priority"  name="priority" value="${vo.priority}" class="tabInp action-valid-field">
						</td>
						<td width="15%" align="right" class="bg">备注:</td>
						<td width="35%">
						     <textarea style = " width:386px; height: 95px;" name="remark" class="tabInp action-valid-field">${vo.remark}</textarea>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
    			<div class="clearfix" align="center"> 
    					 <input type="hidden"  id="flag"  name="flag" value="${flag}">
    					 <input type="hidden"  id="jobId"  name="jobId" value="${vo.jobId}">
		                 <input type="submit" name="comfirm2" class="btn_auto_30 btn_blue mtb20" value="保存">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<a class="btn_auto_30 btn_blue ml20" href="/quartz/jobList" target="_self">返回</a>
					</div>
	</div>	
	
  </form>	
</@master>